package 设计模式.行为型模式.备忘录模式;

/**
 * @author MT
 * @date 2019-11-13 18:54
 */
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
